package com.novellotus.iov.carvice.bean;

import java.util.List;

/**
 * Created by Rich on 2017/12/27.
 */

public class RxEinfos {


    /**
     * id : 7GiBqSUCK4hJxmtvt7enSU
     * ename : 五环汽车集团
     * shortName :
     * nickName : 李驰
     * eCode : 100216
     * status : 1
     * eType : BUS_VEHICLE
     * eTypeName : 整车企业
     * eTypeRemark : 适用于电动汽车生产厂商
     * eUserId : 4uU6KccgBDcJ1D43bM48dg
     * mFlag : 0
     * roles : [{"roleName":"数据对接员","roleId":"AUeSZensJXNrQVsV5raMoG","roleCode":"R_W_DATACUSTOMER","backColor":"#edad13","busCode":"BUS_AUTO_OPER","description":"允许第三方平台获取车辆等数据","url":null,"roleitemId":"AUeSZensJXNrQVsV5raMoG","inFlag":1,"menus":[{"mCode":"","mName":"","mIcon":"","mUrl":"","mSort":0,"mStatus":false,"mRemark":""}]}]
     */

    private String id;
    private String ename;
    private String shortName;
    private String nickName;
    private int eCode;
    private String status;
    private String eType;
    private String eTypeName;
    private String eTypeRemark;
    private String eUserId;
    private int mFlag;
    private List<RolesBean> roles;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getECode() {
        return eCode;
    }

    public void setECode(int eCode) {
        this.eCode = eCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEType() {
        return eType;
    }

    public void setEType(String eType) {
        this.eType = eType;
    }

    public String getETypeName() {
        return eTypeName;
    }

    public void setETypeName(String eTypeName) {
        this.eTypeName = eTypeName;
    }

    public String getETypeRemark() {
        return eTypeRemark;
    }

    public void setETypeRemark(String eTypeRemark) {
        this.eTypeRemark = eTypeRemark;
    }

    public String getEUserId() {
        return eUserId;
    }

    public void setEUserId(String eUserId) {
        this.eUserId = eUserId;
    }

    public int getMFlag() {
        return mFlag;
    }

    public void setMFlag(int mFlag) {
        this.mFlag = mFlag;
    }

    public List<RolesBean> getRoles() {
        return roles;
    }

    public void setRoles(List<RolesBean> roles) {
        this.roles = roles;
    }

    public static class RolesBean {
        /**
         * roleName : 数据对接员
         * roleId : AUeSZensJXNrQVsV5raMoG
         * roleCode : R_W_DATACUSTOMER
         * backColor : #edad13
         * busCode : BUS_AUTO_OPER
         * description : 允许第三方平台获取车辆等数据
         * url : null
         * roleitemId : AUeSZensJXNrQVsV5raMoG
         * inFlag : 1
         * menus : [{"mCode":"","mName":"","mIcon":"","mUrl":"","mSort":0,"mStatus":false,"mRemark":""}]
         */

        private String roleName;
        private String roleId;
        private String roleCode;
        private String backColor;
        private String busCode;
        private String description;
        private Object url;
        private String roleitemId;
        private int inFlag;
        private List<MenusBean> menus;

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }

        public String getRoleCode() {
            return roleCode;
        }

        public void setRoleCode(String roleCode) {
            this.roleCode = roleCode;
        }

        public String getBackColor() {
            return backColor;
        }

        public void setBackColor(String backColor) {
            this.backColor = backColor;
        }

        public String getBusCode() {
            return busCode;
        }

        public void setBusCode(String busCode) {
            this.busCode = busCode;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public Object getUrl() {
            return url;
        }

        public void setUrl(Object url) {
            this.url = url;
        }

        public String getRoleitemId() {
            return roleitemId;
        }

        public void setRoleitemId(String roleitemId) {
            this.roleitemId = roleitemId;
        }

        public int getInFlag() {
            return inFlag;
        }

        public void setInFlag(int inFlag) {
            this.inFlag = inFlag;
        }

        public List<MenusBean> getMenus() {
            return menus;
        }

        public void setMenus(List<MenusBean> menus) {
            this.menus = menus;
        }

        public static class MenusBean {
            /**
             * mCode :
             * mName :
             * mIcon :
             * mUrl :
             * mSort : 0
             * mStatus : false
             * mRemark :
             */

            private String mCode;
            private String mName;
            private String mIcon;
            private String mUrl;
            private int mSort;
            private boolean mStatus;
            private String mRemark;

            public String getMCode() {
                return mCode;
            }

            public void setMCode(String mCode) {
                this.mCode = mCode;
            }

            public String getMName() {
                return mName;
            }

            public void setMName(String mName) {
                this.mName = mName;
            }

            public String getMIcon() {
                return mIcon;
            }

            public void setMIcon(String mIcon) {
                this.mIcon = mIcon;
            }

            public String getMUrl() {
                return mUrl;
            }

            public void setMUrl(String mUrl) {
                this.mUrl = mUrl;
            }

            public int getMSort() {
                return mSort;
            }

            public void setMSort(int mSort) {
                this.mSort = mSort;
            }

            public boolean isMStatus() {
                return mStatus;
            }

            public void setMStatus(boolean mStatus) {
                this.mStatus = mStatus;
            }

            public String getMRemark() {
                return mRemark;
            }

            public void setMRemark(String mRemark) {
                this.mRemark = mRemark;
            }
        }
    }
}
